package com.tedu.egweibodemo.mapper;

import com.tedu.egweibodemo.pojo.dto.UserLoginParam;
import com.tedu.egweibodemo.pojo.dto.UserRegParam;
import com.tedu.egweibodemo.pojo.entity.User;
import com.tedu.egweibodemo.pojo.vo.UserVO;

public interface UserMapper {
    int selectUsername(UserRegParam userRegParam);
    int insert(User user);

    UserVO login(UserLoginParam userLoginParam);
}
